<!-- 
    time：20024-4-15
    name：meidusa 
    role：图片压缩
 -->

<template>
    <div class="img-compress">
        <ImgCompress :quality="0.3" @updateCompressImg="updateCompressImgFn"></ImgCompress>
        <!-- <input type="file" id="file" ref="file" @change="GetImgInfo"> -->
    </div>
</template>

<script setup lang='ts'>
import ImgCompress from '../../components/ImgCompress/index.vue'
// import { GetImgInfo } from '../../hooks/ImgCompress/index'


const updateCompressImgFn = (img: any) => {
    console.log(img);
}
</script>

<style lang="scss" scoped></style>